﻿<%@ Control Language="C#" ClassName="CategoryFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataTitle" runat="server" Text="Title:" AssociatedControlID="dataTitle" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTitle" Text='<%# Bind("Title") %>' MaxLength="200"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataTitle" runat="server" Display="Dynamic" ControlToValidate="dataTitle" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataAlias" runat="server" Text="Alias:" AssociatedControlID="dataAlias" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataAlias" Text='<%# Bind("Alias") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataLink" runat="server" Text="Link:" AssociatedControlID="dataLink" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataLink" Text='<%# Bind("Link") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataParentId" runat="server" Text="Parent Id:" AssociatedControlID="dataParentId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataParentId" Text='<%# Bind("ParentId") %>'></asp:TextBox><asp:RangeValidator ID="RangeVal_dataParentId" runat="server" Display="Dynamic" ControlToValidate="dataParentId" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataOrderIndex" runat="server" Text="Order Index:" AssociatedControlID="dataOrderIndex" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataOrderIndex" Text='<%# Bind("OrderIndex") %>'></asp:TextBox><asp:RangeValidator ID="RangeVal_dataOrderIndex" runat="server" Display="Dynamic" ControlToValidate="dataOrderIndex" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsVisible" runat="server" Text="Is Visible:" AssociatedControlID="dataIsVisible" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsVisible" SelectedValue='<%# Bind("IsVisible") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataLanguage" runat="server" Text="Language:" AssociatedControlID="dataLanguage" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataLanguage" Text='<%# Bind("Language") %>' MaxLength="10"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCreatedDate" runat="server" Text="Created Date:" AssociatedControlID="dataCreatedDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCreatedDate" Text='<%# Bind("CreatedDate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataCreatedDate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUpdatedDate" runat="server" Text="Updated Date:" AssociatedControlID="dataUpdatedDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUpdatedDate" Text='<%# Bind("UpdatedDate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataUpdatedDate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCreatedUser" runat="server" Text="Created User:" AssociatedControlID="dataCreatedUser" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCreatedUser" Text='<%# Bind("CreatedUser") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUpdatedUser" runat="server" Text="Updated User:" AssociatedControlID="dataUpdatedUser" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUpdatedUser" Text='<%# Bind("UpdatedUser") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMenuPosition" runat="server" Text="Menu Position:" AssociatedControlID="dataMenuPosition" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMenuPosition" Text='<%# Bind("MenuPosition") %>' MaxLength="10"></asp:TextBox>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


